AppModalDrawer

fun AppModalDrawer(drawerState: DrawerState, currentRoute: Any, navigationActions: Navigation, coroutineScope: CoroutineScope = rememberCoroutineScope(), content: @Composable () -> Unit)

Composable that displays a modal drawer for navigation.

Parameters

drawerState

State of the drawer, controls whether it's open or closed.

currentRoute

The current navigation route to highlight active section.

navigationActions

Actions to navigate to different parts of the app.

coroutineScope

CoroutineScope to manage drawer interactions.

content

Composable content to be displayed inside the main area of the app.